//
//  NSString+DeviceType.h
//  RuiHeApp
//
//  Created by Yan Chen on 2025/3/18.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (DeviceType)
///是否233设备
-(BOOL)is233DeviceType;

///是否61度电设备
-(BOOL)is61DeviceType;

///是否高压设备
-(BOOL)isHVDeviceType;

///是否储充一体
-(BOOL)isXStack;

/// 根据端点类型获取参数前缀
/// - Parameters:
///   - endpointCode: 端点类型
///   - deviceTypeCode: 设备类型
+(NSString*)getEndpointParaPrefixStringWithEndpointCode:(NSString*)endpointCode deviceTypeCode:(NSString*)deviceTypeCode;
@end

NS_ASSUME_NONNULL_END
